using System;
using System.Collections.Generic;
using System.Text;

namespace Gl.SettingsManager
{
	public abstract class NumericValidatorBaseAttribute : SettingValidatorBaseAttribute
	{
		private bool _checkMinimum = true;
		private bool _checkMaximum = true;
		private bool _throwExceptionOnNotValid = false;

		public bool ThrowExceptionOnNotValid
		{
			get { return _throwExceptionOnNotValid; }
			set { _throwExceptionOnNotValid = value; }
		}

		public bool CheckMaximum
		{
			get { return _checkMaximum; }
			set { _checkMaximum = value; }
		}

		public bool CheckMinimum
		{
			get { return _checkMinimum; }
			set { _checkMinimum = value; }
		}
	}
}
